﻿using System;

namespace Boxi
{
    public static partial class Helper
    {
        public static System.Windows.Media.Color GetColor(String colorName)
        {
            return (System.Windows.Media.Color)typeof(System.Windows.Media.Colors).InvokeMember(colorName, System.Reflection.BindingFlags.GetProperty, null, null, null);
        }
    }
}
